package com.tingyun.sign.admin.service;

import com.tingyun.sign.admin.bean.ScUManagerDto;
import com.tingyun.sign.core.entity.ScUManagerBean;
import com.tingyun.sign.utils.Page;

public interface ManagerService {

	public Integer login(ScUManagerBean bean);
	
	public ScUManagerBean findByNameAndPass(String name, String pass);

	public Integer addManager(ScUManagerBean bean);

	public ScUManagerBean editManager(ScUManagerDto bean);
	
	public Page<ScUManagerBean> findAllManageres();

	public Integer deleteById(ScUManagerBean bean);

	public Integer checkByType();
	
	public boolean findByName(String string);
}
